package org.yylnb.openplatform.webmaster.service.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * @author RainLin
 * @date 2020/8/1 - 11:23
 */
@FeignClient("OPENAPI-SEARCH")
public interface SearchService {

    @RequestMapping("/search/searchlog")
    List<Map> searchLog(@RequestParam("jsonParam") String jsonParam);


    @RequestMapping("/search/count")
    Long getCount(@RequestParam("jsonParam") String jsonParam);
}

